package kr.hkit.androidcomplete03.ch30;

import kr.hkit.androidcomplete03.R;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;

public class MyBroadcastSenderEx extends Activity {
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.mybroadcast_sender_ex);
		findViewById(R.id.click).setOnClickListener(new OnClickListener() {
			public void onClick(View v) {
				Intent intent = new Intent("kr.co.company.START_WEB");
				intent.putExtra("TTTT", "Google.com으로 이동");
				sendBroadcast(intent);
			}
		});
	}
}
